package com.mask.order.client;

import com.mask.roll.common.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    /**
     * 根据用户id获取用户信息
     * @param id
     * @return
     */
    @PostMapping("/ucenter/member/get/member/by/{id}")
    public UcenterMemberOrder getUserInfoOrder(@PathVariable("id") String id);
}
